<template>
	<view>
		<cu-custom :isBack="true"><block slot="content">个人资料</block></cu-custom>
		<view class="cu-list menu sm-border">
			<view class="cu-item">
				<view class="content">
					<text class="text-black">头像</text>
				</view>
				<view class="action">
					<view class="cu-avatar radius">
						<image :src="userInfo.face" class="png" mode="aspectFit"></image>
					</view>
				</view>
			</view>
			<view class="cu-item">
				<view class="content">
					<text class="text-black">手机号码</text>
				</view>
				<view class="action">
					<text class="text-grey text-df">{{userInfo.mobile}}</text>
				</view>
			</view>
			<view class="cu-item">
				<view class="content">
					<text class="text-black">昵称</text>
				</view>
				<view class="action">
					<text class="text-grey text-sm">{{userInfo.nickname}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userInfo:uni.getStorageSync('userInfo')
			};
		}
	}
</script>

<style lang="scss">

</style>
